package com.pet;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
//@EnableTransactionManagement //开启注解方式的事务管理
@ServletComponentScan
@Slf4j
public class PetApplication {

    public static void main(String[] args) {

        SpringApplication.run(PetApplication.class, args);
        log.info("server started.");
    }
}
